﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;

namespace CSTest
{
    class XmlTest
    {
        public void TestReadXml()
        {
            string xmlstring = @"<MultiNodePicker>
	                                <nodeId>1052</nodeId>
	                                <nodeId>1051</nodeId>
	                                <nodeId>1050</nodeId>
                                </MultiNodePicker>";
            XmlDocument doc = new XmlDocument();
            doc.LoadXml(xmlstring);
            XmlNode node = doc.SelectSingleNode("MultiNodePicker");
            foreach (XmlNode xnf in node.ChildNodes)
            {
                Console.WriteLine(xnf.InnerText);
            }
        }
    }
}
